﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GameServerApp.DBModel
{
    /// <summary>
    /// 弃用
    /// </summary>
    public class MailDBModel:Singleton<MailDBModel>
    {
        ///// <summary>
        ///// 初始化
        ///// </summary>
        //public void Init()
        //{
        //    EventDispatcher.Instance.AddEventListener(ProtoCodeDef.Mail_Request_list, OnRequestList);
        //}

        //private void OnRequestList(Role role, byte[] buffer)
        //{
        //    Console.WriteLine("客户端请求邮件列表");

        //    Mall_Get_ListProto proto = new Mall_Get_ListProto();
        //    proto.Count = 30;
        //    proto.MailID = 102;
        //    proto.MailName = "名称";

        //    role.Client_Socket.SendMsg(proto.ToArray());
        //}
    }
}
